<?php /* Smarty version 2.6.18, created on 2017-09-06 15:21:20
         compiled from online.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header2.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

</head>
<body>
<script id=myjs language="javascript">
var js=1;var sss='online';
</script>

<style type="text/css">
.click{background:#E3F1FF}
</style>
<div class="main">
<div class="top_info">
<span class="title">在线会员</span>
</div>
<div class="contents">
<TABLE class="data_table list data_list guide">
<tr><th>代理</th><th>会员</th></tr>
<tr><?php $_from = $this->_tpl_vars['num']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['i']):
?><td class="type<?php if ($this->_tpl_vars['type'] == ( $this->_tpl_vars['k']+1 )): ?> click<?php endif; ?>" type='<?php echo $this->_tpl_vars['k']; ?>
'><?php echo $this->_tpl_vars['i']; ?>
</td><?php endforeach; endif; unset($_from); ?></tr>
</TABLE><BR />

   <table class="data_table data_list list on_tb">
   <tr><td colspan="8"><?php echo $this->_tpl_vars['page']; ?>
</td></tr>
   <TR><th><input type="checkbox" id='clickall' />全选</th><th>用户类型</th><th>用户名</th><th>登陆时间</th><th>最后活动</th><th>ip</th><th>来源</th><th><input type="button" value="踢出选中" id='delall' class='btn3 btnf'  /></th></TR>
    <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['on']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <TR>
        <TD><input type="checkbox" value="<?php echo $this->_tpl_vars['on'][$this->_sections['i']['index']]['id']; ?>
" /><?php echo $this->_tpl_vars['on'][$this->_sections['i']['index']]['i']; ?>
</TD>
        <Td><?php echo $this->_tpl_vars['on'][$this->_sections['i']['index']]['usertype']; ?>
</Td>
        <Td class='tl'><?php echo $this->_tpl_vars['on'][$this->_sections['i']['index']]['username']; ?>
(<?php echo $this->_tpl_vars['on'][$this->_sections['i']['index']]['name']; ?>
)</Td>  
        <Td><?php echo $this->_tpl_vars['on'][$this->_sections['i']['index']]['logintime']; ?>
</Td><Td><?php echo $this->_tpl_vars['on'][$this->_sections['i']['index']]['savetime']; ?>
</Td>
        <Td><?php echo $this->_tpl_vars['on'][$this->_sections['i']['index']]['ip']; ?>
</Td>
        <Td class="ip"><?php echo $this->_tpl_vars['on'][$this->_sections['i']['index']]['addr']; ?>
</Td>
   
       
        <Td><input type="button" value="踢出" class="btn1 btnf"  /></Td>
     </TR>
    <?php endfor; endif; ?>
   </table>
</div>
<div class="page"><div class="page_info">
    </div>
</div>
</div>
</body>
</html>